package com.google.code.avajhelpdesk.persistence;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.google.code.avajhelpdesk.entities.User;

public interface IUserDAO {

	@Transactional
	public abstract List findUser(String username, String password);

	@Transactional
	public abstract List findUser(String username);

	public abstract List<User> findUsers(int first, int count, String property,
			boolean ascending);

}